package com.homedo.odin.solution.contract.pc;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.Data;

@ApiModel(description = "PC_获取品牌主关联的产品信息")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class BrandFirmsSkuListValidRequestBean {

    @ApiModelProperty(value = "品牌厂商id", required = true)
    @NotNull(message = "品牌厂商id不能为空")
    @Min(message = "品牌厂商id必须为正数", value = 0)
    private Integer uid;

    @ApiModelProperty(value = "当前页码", required = true)
    @NotNull(message = "当前页码不能为空")
    @Min(message = "当前页码必须为正数", value = 0)
    private Integer currentPage;

    @ApiModelProperty(value = "每页记录数", required = true)
    @NotNull(message = "每页记录数不能为空")
    @Min(message = "每页记录数必须大于0", value = 0)
    private Integer pageSize;
}
